package map.abstractor.xaml2uimodel.base;

import org.w3c.dom.Element;

public class XamlProperty extends XMLObject {

	protected String tag;
	protected String value;

	public XamlProperty() {
		this.tag = "";
		this.value = "";
	}

	public XamlProperty(String t, String v) {
		this.tag = t;
		this.value = v;
	}

	public void init(Element e) {
		this.tag = e.getTagName().substring(3);
		this.value = e.getTextContent();
	}

	public String getTag() {
		return tag;
	}

	public String getValue() {
		return value;
	}


}
